package com.leo.customer.entity.pojo

import com.leo.customer.entity.CreateTimeAndUpdateTime
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import javax.persistence.Entity

@ApiModel
@Entity
data class Employee(
        @ApiModelProperty("雇员名称")
        var name: String = "",
        @ApiModelProperty("雇员对应用户Id")
        var userId:Long = 0,
        @ApiModelProperty("雇员职位")
        var post:String = ""
) : CreateTimeAndUpdateTime()
